<% @page_title = "Request Password Reset" %>

<% @page_message = "Request password reset" %>

<% form(action: rodauth.reset_password_request_path, method: :post, class: "rodauth space-y-6") do %>

  <div>
    <p class="leading-6 text-sm"><%== rodauth.reset_password_explanatory_text %></p>
  </div>

  <%== render("components/rodauth/login_field") %>

  <div class="flex flex-col text-center">
    <%== part("components/form/submit_button", text: "Request Password Reset") %>
    <a href="/login" class="mt-2 text-sm font-semibold leading-6 text-gray-900">Sign in to another account</a>
  </div>
<% end %>
